<html>
<head>
<script type="text/javascript" src="../shiro/manager/jquery-1.10.2.min.js"></script>
</head>
<body>
<button id="a1">qt1</button>
<button>qt2</button>
<button>qt3</button>
<div>
	<input value="qt4">
</div>
</body>
<script type="text/javascript">
var buttons = $("#a1").nextAll();
console.log(buttons.length);
buttons.each(function(){
	console.log($(this).prop("outerHTML"));
});
</script>
</html>